home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / asitchintime2.swf / scripts / DefineButton2_1730 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2005-11-09  |  360 b   |  17 lines

  1. on(release){
  2.    if(!c.quiting)
  3.    {
  4.       if(!c.gamePaused)
  5.       {
  6.          c.gamePaused = true;
  7.          b.broadcastMessage("onPause");
  8.       }
  9.       c.quiting = true;
  10.       quitScreen.gotoAndPlay("open");
  11.       btnPlay._visible = false;
  12.       btnPause._visible = false;
  13.       btnQuit._visible = false;
  14.       btnHelp._visible = false;
  15.    }
  16. }
  17.